
.chat-voice-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    cursor: pointer;

    .chat-voice-bg {
        width: 80px;
        height: 80px;
        position: absolute;
        left: -17px;
        top: -17px;
        display: block;
    }

    &-start,
    &-load {
        .chat-voice-bg {
            opacity: 1;
            transition: opacity 0.5s ease;
            animation: rotation 0.8s infinite linear;
        }
    }

    .chat-voice-block {
        width: 48px;
        height: 48px;
        background: linear-gradient(138deg, #2DD2AF 0%, #2A85E7 100%);
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        .chat-voice-content {
            width: 44px;
            height: 44px;
            background: #29293A;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;

            svg {
                pointer-events: none;
            }

            path {
                fill: #FFFFFF;
            }
        }

        .chat-voice-img {
            width: 24px;
        }
    }
}